package data;

import java.sql.Timestamp;

public abstract class Log {
    private long ID;
    private long filesize;
    private String filetype;
    private String IPaddress;
    private Timestamp start;
    private Timestamp finish;
    private String username;
    private boolean fileIsProtected;
    
    /*
    GET
    */
    public long getID() {
        return ID;
    }
    
    public String getIPaddress() {
        return IPaddress;
    }
    
    public String getUsername() {
        return username;
    }
    
    public Timestamp getStart() {
        return start;
    }
    
    public Timestamp getFinish() {
        return finish;
    }
    
    public long getFilesize() {
        return filesize;
    }
    
    public String getFiletype() {
        return filetype;
    }
    
    public boolean isFileIsProtected() {
        return fileIsProtected;
    }
    
    /*
    SET
    */
    public void setID(long iD) {
        ID = iD;
    }

    public void setIPaddress(String iPaddress) {
        IPaddress = iPaddress;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    
    public void setStart(Timestamp start) {
        this.start = start;
    }
    
    public void setFinish(Timestamp finish) {
        this.finish = finish;
    }
    
    public void setFilesize(long filesize) {
        this.filesize = filesize;
    }
    
    public void setFiletype(String filetype) {
        this.filetype = filetype;
    }
    
    public void setFileIsProtected(boolean fileIsProtected) {
        this.fileIsProtected = fileIsProtected;
    }
}
